package com.situ.day1;

import org.junit.Test;

//驼峰命名法  大驼峰
public class HelloWorld {

    //main 入口方法
    public static void main(String[] args) {
        //sout
        System.out.println("Hello World");
        System.out.println("Hello World");
        System.out.println("Hello World");

        //int : 整数类型
        //age : 变量
        //= : 赋值，把等号右边的值赋值给左边这个变量
        int age = 23;
        age = 34;
        byte age1 = 24;
        //常量
        final int num = 21;
        //Cannot assign a value to final variable 'num'
        //num = 24;

        int _$count$_ = 43;
        //int 2$count$_ = 43;

        //名字是：你怎么想的就起成什么名字
        int productCount = 23;
        String orderNo = "2323";

        double pi = 3.13;
        //int n = 3.12;

        char ch1 = 'a';
        char ch2 = '1';
        char ch3 = '%';
        char ch4 = '学';

        boolean bool1 = true;
        boolean bool2 = false;
    }

    //JUnit: Java Unit
    @Test
    public void test1() {
        //soutm
        System.out.println("HelloWorld.test1");
        //byte b1 = 256;
        byte b2 = -2;
        byte b3 = -128;
        //byte b4 = 128;
        byte b4 = 127;
    }

    @Test
    public void test2() {
        System.out.println("HelloWorld.test2");
    }

}
